/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GoMail;

/**
 *
 * @author Administrator
 */
public interface FilterInterface {

    /**
     * This method is used to get name of folder where messages will save
     * @return name of specified folder
     */
    String getDirectionFolder();

    /**
     * This method is used to get sender
     * @return sender name
     */
    String getSender();

    /**
     * This method is used to get message subject
     * @return message subject
     */
    String getSubject();

    /**
     * This method is used to set all filter data
     * this method is used when filter data is read from file
     * and loaded to filter list in MailUserOperations class
     * @param s array of filter data
     */
    void setAllFilterData(String[] s);

    /**
     * This method is used to set name of folder where messages will save
     * @param directionFolder new name of the folder
     */
    void setDirectionFolder(String directionFolder);

    /**
     * This method is used to set sender
     * @param sender new sendr name
     */
    void setSender(String sender);

    /**
     * This method is used to set message subject
     * @param subject new message subject
     */
    void setSubject(String subject);

}
